import {PluginCommand} from "./PluginCommand";

class PartDeformationCommand extends PluginCommand {
  constructor() {
    super();
  }
  getParameters(cb) {
    if (this.toolQuery) {
      this.toolQuery.getParameters().then(res => {
          cb(res.data.parameters);
        });
    }
  }
  executePartDeformationCommand(params, cb) {
    if (this.toolQuery) {
      this.toolQuery.executePartDeformationCommand(params).then(res => {
          cb();
        })
    }
  }
}
const partDeformationCommand = new PartDeformationCommand();
export { partDeformationCommand }
